/*
    created: 2023/4/17
    filename: Main.c
    author： 李东霖
    purpose: KMP算法的实现测试 
*/

#include"KMP.h"
int main()
{
    char str[] = "abaabc";
    char dstr[] = "abc";
    int pos = Index_Kmp(str,dstr);
    printf("%s\n",str+pos);
    return 0;
}